package com.study.quiz.utils;

import org.springframework.stereotype.Component;

import java.io.UnsupportedEncodingException;

/**
 * @author CJunGod
 * @create 2020-03-04 23:12
 **/
@Component
public class TransitionUtil {

    public String IsoToUtf(String transition) throws UnsupportedEncodingException {

        return new String(transition.getBytes("iso-8859-1"), "utf-8");
    }
}
